package com.zero.yygh.order;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author zero
 * @desc OrderService启动类
 * @create 2021/5/8
 */
@SpringBootApplication
@ComponentScan(basePackages = "com.zero")
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.zero")
public class ServiceOrderApplication {
    public static void main(String[] args){
        SpringApplication.run(ServiceOrderApplication.class, args);
    }
}
